package com.glsc.ngateway.opmanage.log;

import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.filter.Filter;
import ch.qos.logback.core.spi.FilterReply;

public class P6spyFilter extends Filter<ILoggingEvent>{

	
	@Override
	public FilterReply decide(ILoggingEvent event) {
		if("p6spy".equalsIgnoreCase(event.getLoggerName())) {
			return FilterReply.DENY;
		}else {
			return FilterReply.NEUTRAL;
		}
		
	}

}
